﻿
namespace SUNRPA.CONTROLS.IMPL.domain {
    public class ProcessInfo:BaseDomain {
        public ProcessInfo() { 
            processName = "新建应用";
            enable = true;
            executeTimes=0;
            executeTotaltime=0;
        }
        private string ProcessId;
        private string AccountId;
        private string ProcessName;
        private string Brief;
        private string Description;
        private Boolean Enable;
        private Int64 ExecuteTimes;
        private Int64 ExecuteTotaltime;

        public string processId{ 
            get => ProcessId;
            set { 
                ProcessId = value;
                NotifyPropertyChanged("processId");
            }
        }
        public string accountId{ 
            get => AccountId;
            set { 
                AccountId = value;
                NotifyPropertyChanged("accountId");
            }
        }
        public string processName{ 
            get => ProcessName;
            set { 
                ProcessName = value;
                NotifyPropertyChanged("processName");
            }
        }
        public string brief{ 
            get => Brief;
            set { 
                Brief = value;
                NotifyPropertyChanged("brief");
            }
        }
        //详细描述
        public string description{ 
            get => Description;
            set { 
                Description = value;
                NotifyPropertyChanged("description");
            }
        }
        public Boolean enable{ 
            get => Enable;
            set { 
                Enable = value;
                NotifyPropertyChanged("enable");
            }
        }
        public Int64 executeTimes{ 
            get => ExecuteTimes;
            set { 
                ExecuteTimes = value;
                NotifyPropertyChanged("executeTimes");
            }
        }
        public Int64 executeTotaltime{ 
            get =>ExecuteTotaltime;
            set { 
                ExecuteTotaltime = value;
                NotifyPropertyChanged("executeTotaltime");
            }
        }
    }
}
